package com.richard.room.app.entity;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.io.Serializable;

/**
 * @author: Richard
 * @createDate: 2023/8/13 14:02
 * @version: 1.0
 * @description: 无
 */
@Entity
public class Device implements Serializable {

    @NonNull
    @PrimaryKey(autoGenerate = false)
    public String id;

    public boolean root;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isRoot() {
        return root;
    }

    public void setRoot(boolean root) {
        this.root = root;
    }
}
